import Vue from 'vue'
import Router from 'vue-router'

import Hello from '@/components/Hello'
import state from '@/components/state'
import mapState from '@/components/mapState'
import mutations from '@/components/mutations'
import mapMutations from '@/components/mapMutations'
import actions from '@/components/actions'
import modules from '@/components/modules'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/state',
      component: state
    },
    {
      path: '/mapState',
      component: mapState
    },
    {
      path: '/mutations',
      component: mutations
    },
    {
      path: '/mapMutations',
      component: mapMutations
    },{
      path: '/actions',
      component: actions
    },{
      path: '/modules',
      component: modules
    },
  ]
})
